package com.wang.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum DiagnosisColorEnum {
    // 深红舌
    CRIMSON(0,"深红舌"),
    // 淡红舌
    RED(1,"淡红舌"),
    // 淡白苔
    WHITE(2,"淡白舌");

    @EnumValue
    private final Integer code;
    private final String name;

    DiagnosisColorEnum(final Integer code, final String name) {
        this.code = code;
        this.name = name;
    }
}
